package com.lr.service.impl;

import com.lr.VO.Product;
import com.lr.mapper.IProductMapper;
import com.lr.service.IProductService;
import com.lr.PO.TbProduct;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
@Service
public class ProductServiceImpl implements IProductService {
    @Resource
    private IProductMapper iProductMapper;
    @Override
    public List<TbProduct> selectProductList() {
        List<TbProduct> tbProducts = iProductMapper.selectProductList();
        return tbProducts;
    }
}
